﻿using System;

namespace OutOfUnity
{
    public class Config
    {
        public static readonly int RECV_BUF_SIZE = 1024 * 1024;
        public static readonly int SEND_BUF_SIZE = 1024 * 1024;
        public static readonly int TCP_RECV_TIMEOUT = 200;
        public static readonly int UDP_RECV_TIMEOUT = 1;
        public static readonly int CONNECT_TIMEOUT = 3000;
        public static readonly DateTime utc_time = new DateTime(1970, 1, 1);
        public static readonly uint KCPCONV = 0x10101010;
        public static readonly int MTU = 1000;
        public static readonly int KCP_NODELAY_NODELAY = 1;
        public static readonly int KCP_NODELAY_INTERVAL = 20;
        public static readonly int KCP_NODEALY_RESEND = 2;
        public static readonly int KCP_NODELAY_NC = 1;
    }
}
